#include "arm-smccc.h"

#define PSCI_FN_CPU_ON (0x84000003)
int Mp1SmpSecCoreOn(unsigned long cpuid, unsigned long entry_point)
{
	unsigned int fn = PSCI_FN_CPU_ON;
    struct arm_smccc_res res = {0};
    arm_smccc_smc(fn, cpuid, entry_point, 0, 0, 0, 0, 0, &res);
    return res.a0;
}
